Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http: compat head request should not start finished #24339

Closed
wants to merge 1 commit into from

Conversation

ronag
Copy link
Member

@ronag ronag commented Nov 13, 2018

http2 streams for HEAD requests are never writable, thus writableState is not interesting for checking whether a response is ended or aborted.

Refs: #24283

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added dont-land-on-v6.x http2 Issues or PRs related to the http2 subsystem. labels Nov 13, 2018
@ronag ronag changed the title http2: head request is not finished http: compat head request should not start finished Nov 13, 2018
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

http2 streams for HEAD requests are never writable,
thus writableState is not interesting for checking
whether a response is ended or aborted.

Refs: nodejs#24283
PR-URL: nodejs#24339
@ronag
Copy link
Member Author

ronag commented Nov 14, 2018

Fixed commit msg to pass CI.

@ronag
Copy link
Member Author

ronag commented Nov 14, 2018

I suggest we wait to see what happens with #24347 before merging this.

@ronag
Copy link
Member Author

ronag commented Jul 14, 2019

Close in favour of #24347

@ronag ronag closed this Jul 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
http2 Issues or PRs related to the http2 subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants